<template>
  <div id="app">
    <Navbar />
    
    <div class="container">
      <router-view />
    </div>
    
    <Footer />
  </div>
</template>

<script setup>
import Navbar from './components/common/Navbar.vue';
import Footer from './components/common/Footer.vue';
</script>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-color: #e94560;
  --secondary-color: #1a1a2e;
  --text-color: #333;
  --light-text: #666;
  --lighter-text: #888;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --border-color: #ddd;
}

body {
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .container {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 5px;
  }
}
</style>